package cn.cyh.user.mapper;

import cn.cyh.basic.mapper.BaseMapper;
import cn.cyh.user.domain.User;

public interface UserMapper extends BaseMapper<User>{

    User loadByPhone(String phone);

    /**
     * 根据登陆人id查询用户
     * @param loginInfoId
     * @return
     */
    User loadByLoginInfoId(Long loginInfoId);
}
